<?php 

include 'config/config.php';
include 'php/db.php';
include 'php/functions.php';
//include 'php/auth.php';
include 'layout/header.php';
include 'layout/nav.php';

//session_start();
$connect = new DatabaseConnection('localhost','root','', '');
echo "<br/>";
//$db = new selectdb('roniplblog');

	if (isset($_GET['pages'])) {
		getPage('myblog/pages', $_GET['pages'], 'home');
	}else {
		getPage('myblog/pages', 'home', 'default');
	}

include 'layout/footer.php';


?>